"""枚举类型定义模块"""

from enum import Enum


class DetectionPlatform(str, Enum):
    """检测平台枚举"""
    ZHIWANG = "zhiwang"  # 知网
    GEZIDA = "gezida"    # 格子达
    WEIPU = "weipu"      # 维普


class DetectionStatus(str, Enum):
    """检测状态枚举"""
    PENDING = "pending"      # 待处理
    PROCESSING = "processing"  # 处理中
    COMPLETED = "completed"    # 已完成
    FAILED = "failed"          # 失败
    CANCELLED = "cancelled"    # 已取消


class TaskType(str, Enum):
    """任务类型枚举"""
    TEXT_DETECTION = "text_detection"  # 文本检测
    BATCH_DETECTION = "batch_detection"  # 批量检测 